package com.atyoung.youngmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//开启服务注册与发现
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class YoungmallGatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(YoungmallGatewayApplication.class, args);
	}

}
